<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>

<%
    String path = request.getContextPath();
    String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<html>
<head>
    <%@include file="/resources/inc/head.jsp"%>
    <script src="<%=head_basePath%>resources/lib/jquery.media-v0.99/jquery.media.js"></script>
</head>
<body style="width: 100%;height: 100%">
<a class="media" href="${fileUrl}"></a>
<script>
    $(function() {
        $('a.media').media({width:"100%" , height:document.body.clientHeight});
    });
</script>
</body>
</html>
